home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
ddj1291.zip
/
STAT.ZIP
/
EXAMPLE.ZIP
/
MAKEFILE.86
< prev
next >
Wrap
Text File
|
1990-05-09
|
1KB
|
47 lines
#
# File: makefile.x86
#
# Description: This makefile makes the performance analysis tester code
# for 80x86 family processor.
#
# The resulting .hex file can be downloaded to a 80x86 family
# based target system.
#
# Development tools
PATH=/u13/xsw/new/unison_t086-6.02-5.03a_sun/build/x
CC=$(PATH)/c86
ASM=$(PATH)/as86
LINK=$(PATH)/llink
FORM=$(PATH)/form
MAP=$(PATH)/gsmap
# Tool options
CCFLAGS=-d -nf -o -l -do -ic
ASFLAGS=-d -l -o
# Make absolute located code and a global symbol map
all: pa86test.hex pa86test.map
# Extended TekHex format code, data
pa86test.hex : pa86test.ab
$(FORM) pa86test.ab -d -f xt -o pa86test.hex
# Generate map file with global symbols
pa86test.map : pa86test.ab
$(MAP) pa86test.ab -o pa86test.map
pa86test.ab : pa86test.cmd entry86.ol pa86test.ol
$(LINK) entry86.ol pa86test.ol -o pa86test.ab -c pa86test.cmd
pa86test.cmd: makefile.86
@echo 'LOCATE (S__main:#200);' > pa86test.cmd
@echo 'LOCATE ({code}{constant}{data}{stack}:AFTER #200);' >> pa86test.cmd
entry86.ol: entry86.asm
$(ASM) entry86.asm $(ASFLAGS)
pa86test.ol: patest.c
$(CC) patest.c $(CCFLAGS) -o pa86test.ol